package com.oreilly.justspring.core.ch1.ex17;

import com.oreilly.justspring.core.ch1.IReader;

public class ReaderService {
	private IReader reader = null;

	public ReaderService() {
	}

	public void setReader(IReader reader) {
		this.reader = reader;
	}

	public IReader getReader() {
		return reader;
	}

	public String fetchData() {
		return getReader().read();
	}

}
